﻿using System;
using System.ComponentModel.Design;

namespace WeForms.Design
{
    class WeTabSideBarControlListEditor : CollectionEditor
    {
        private readonly Type[] _types;
        public WeTabSideBarControlListEditor(Type type)
            : base(type)
        {
            _types = new[] { typeof(WeTabSideBarButton), typeof(WeTabSideBarViewButton), typeof(WeTabSideBarScrollBar) };
        }

        protected override Type[] CreateNewItemTypes()
        {
            return _types;
        }

    }
}
